package com.github.satant.job.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import java.time.LocalDateTime;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;


/**
 * 图片中心表(除朋友圈图片外)
 *
 * @author dear_satant
 * @email 446269825@qq.com
 * @date 2018-06-26 21:32:17
 */
@Table(name = "st_image")
@Data
public class StImage implements Serializable {

    private static final long serialVersionUID = 1L;

    //
    @Id
    private String uuid;

    //用户ID
    @Column(name = "user_id")
    private Integer userId;

    //图片来源1：头像，2：简历，3:任务
    @Column(name = "source")
    private Integer source;

    //图片链接
    @Column(name = "link_url")
    private String linkUrl;

    //上传时间
    @Column(name = "create_time")
    private LocalDateTime createTime;


}
